<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<meta name="description" content="">
		<meta name="author" content="">

		<title>电动车行驶证信息</title>
		<!-- Bootstrap core CSS -->
		<link href="asserts/css/bootstrap.min.css" rel="stylesheet">

		<!-- Custom styles for this template -->
		<link href="asserts/css/dashboard.css" rel="stylesheet">
	</head>

	<body>
	<div th:insert="common/bar::top"></div>

		<div class="container-fluid">
			<div class="row">
				<div th:insert="common/bar::#left"></div>

				<main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
					<div class="table-responsive">
						<table class="table table-striped table-sm">
							<thead>
								<tr>
									<th>行驶证号</th>
									<th>姓名</th>
									<th>学院</th>
									<th>车辆品牌</th>
									<th>生效时间</th>
									<th>车辆图片</th>
									<th>状态</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? session.getDrivingLicenseMessage:session.drivingLicenseImpl.drivingLicenseID}"></a>
									</td>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? '':session.drivingLicenseImpl.studentName}"></a>
									</td>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? '':session.drivingLicenseImpl.department}"></a>
									</td>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? '':session.drivingLicenseImpl.brand}"></a>
									</td>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? '':session.drivingLicenseImpl.generateTime}"></a>
									</td>
									<td>
										<img style="width: 100px" id="my" th:src="${session.drivingLicenseImpl eq null ? 'asserts/img/YSU.jpg':session.drivingLicenseImpl.image}" alt="">
									</td>
									<td>
										<a th:text="${session.drivingLicenseImpl eq null ? '':session.drivingLicenseImpl.status}"></a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</main>
				<a id="notExistEbickID" type="hidden" th:text="${session.notExistEbickID}"></a>
			</div>
		</div>


	<script type="text/javascript" src="asserts/js/jquery-3.2.1.slim.min.js"></script>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script src="asserts/js/popper.min.js"></script>
	<script src="asserts/js/feather.min.js"></script>
	<script src="asserts/js/bootstrap.min.js"></script>

		<script>
			window.onload=function() {
				var notExistEbickID = document.getElementById("notExistEbickID").innerText;
				if(notExistEbickID=="电动车牌照不存在"){
					console.log(notExistEbickID);
					alert(notExistEbickID);
					location.href="clearMessage.do?sessionItem=notExistEbickID&from=superviserFindDrivingLicense";
				}
			}


		</script>



	</body>

</html>